<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:77:"D:\phpstudy_pro\WWW\nmg002\public/../application/home\view\videos\detail.html";i:1679836546;s:67:"D:\phpstudy_pro\WWW\nmg002\application\home\view\public\footer.html";i:1654363759;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><?php echo $setting['webname']; ?>-视频</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="shortcut icon" href="/public/static/admin/uploads/set/<?php echo $setting['ico']; ?>">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
    <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
    <script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>
    <script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>
    <style>
        /**{line-height: 30px;}*/
        .new-head{
            font-size:18px;
            text-align: center;
            padding:1rem 0.5rem;
            line-height: 30px;
        }
        .aui-watch-box{
            line-height: 30px;
            padding:2rem 2rem;
        }
        .aui-watch-box img{
            max-width: 100%;
            margin:0 auto;

        }
        .img_wrapper{

            width: 90%;
            margin:0 auto;
        }
        .desc{
            background:#f0f0f0;
            line-height: 30px;
            text-indent: 2em;
            font-size:14px;
        }
        .video video{
            margin:5% auto;
            width: 100%;
            display: block;
        }

    </style>
</head>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed b-line">
        <a href="javascript:history.back(-1)" class="aui-navBar-item">
            <i class="icon icon-return"></i>
        </a>
        <div class="aui-center">
            <span class="aui-center-title"><?php echo $video['title']; ?></span>
        </div>
        <a href="javascript:;" class="aui-navBar-item">
            <i class="icon icon-sys"></i>
        </a>
    </header>
    <section class="aui-scrollView">
        <div class="aui-watch-box">
            <div class="new-head">
                <h1><?php echo $video['title']; ?></h1>
                <p style="color:#999"><small>关键词：<?php echo $video['keywords']; ?> <br/> 发布时间：<?php echo $video['create_time']; ?></small></p>
            </div>
            <div class="desc">
                <?php echo $video['description']; ?>
            </div>
            <div class="video">
                <video src="<?php echo $video['url']; ?>"  controls poster="<?php echo $video['video_cover']; ?>" preload  controlslist="nodownload"></video>
            </div>

        </div>
        <div class="divHeight"></div>
        <div class="aui-coll-title">
            <h2>热门推荐</h2>
        </div>
        <div >
            <?php foreach($videolist as $vs): ?>
            <a href="<?php echo url('Videos/detail',['id'=>$vs['id']]); ?>" class="aui-flex b-line">
                <?php if(!empty($vs['video_cover'])): ?>
                <div class="aui-branch-img">
                    <img src="<?php echo $vs['video_cover']; ?>" alt="" height="100%">
                </div>
                <?php endif; ?>
                <div class="aui-flex-box">
                    <h2><?php echo $vs['title']; ?></h2>
                    <p><?php echo mb_substr($vs['description'],0,18,"utf-8"); ?>……</p>
                    <p><?php echo $vs['create_time']; ?></p>
                    <div class="aui-watch-seep">
                        <div class="aui-watch-seep-die" style="width:80%"></div>
                    </div>
                </div>
            </a>
            <?php endforeach; ?>
        </div>
        <div class="divHeight"></div>
        <div style="text-align: center;color:#999;font-size:16px;margin:15px;">
            <div style="height: 40px;margin:10px 0px;background:url(/public/static/home/themes/img/img/640.gif) no-repeat center;background-size:auto 100%;"></div>
            <?php if(empty($teacher['wx_qrcode'])): ?>
            如有疑问请联系我校老师<br/>
            <img src="/public/static/admin/uploads/set/<?php echo $qrcode['val']; ?>" alt="" height="150"><br/>
            联系电话：<a href="<?php echo $setting['gf_tel']; ?>"><?php echo $setting['gf_tel']; ?></a><br/>
            <span><?php echo $qrcode['description']; ?></span>
            <?php else: ?>
            如有疑问请联系我校老师<br/>
            <img src="/public/static/admin/uploads/teacher_qr/<?php echo $teacher['wx_qrcode']; ?>" alt="" height="150"><br/>
            <span>我校老师：<?php echo $teacher['name']; ?></span><br/>
            <span>联系电话：<a href="tel:<?php echo $teacher['tel']; ?>"><?php echo $teacher['tel']; ?></a></span>
            <section class="_editor"  data-style-id="25113">
                <section style="margin-top: 10px; margin-bottom: 10px;">
                    <p style="text-align: center; width:100%;" data-width="100%">
                        <br/>
                    </p>
                </section>
            </section>

            <section style="margin-top: 10px; margin-bottom: 10px;">
                <p style="text-align: center;width:6em;">
                    <img src="/public/static/home/themes/img/img/0.gif"/>
                </p>
                <section style="margin-top:-10px;background-color:#beffbb;border-radius:5px;" class="">
                    <section style="background-image: url(/public/static/home/themes/img/img/10001.gif); background-position: 100% 100%; background-repeat: no-repeat; background-attachment: scroll; background-size: 13%; padding: 15px; text-align: center;" class="">
                        <p style="letter-spacing: 2px;">
                            <span style="color: #0052ff;" onclick="share()">分享我的学校</span>
                        </p>
                        <p style="letter-spacing: 2px;">
                            点击上面“蓝字”分享我的学校哦！
                        </p>
                    </section>
                </section>
            </section>

            <?php endif; ?>

        </div>
    </section>
    <link href="/public/static/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<footer class="aui-footer">
    <a href="<?php echo url('Indexs/index'); ?>" class="aui-tabBar-item aui-tabBar-item-active">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-home"></i>
            </span>
        <span class="aui-tabBar-item-text">首页</span>
    </a>
    <a href="<?php echo url('My/register'); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="fa fa-user-plus"  style="font-size:18px !important;"></i>
            </span>
        <span class="aui-tabBar-item-text">我要报名</span>
    </a>
    <!--<a href="news.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-find"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">消息</span>-->
    <!--</a>-->
    <!--<a href="community.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-comm"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">社区</span>-->
    <!--</a>-->
    <a href="<?php echo url('My/index'); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-car"></i>
            </span>
        <span class="aui-tabBar-item-text">我的</span>
    </a>
</footer>
</section>
</body>
</html>